package com.tntsl.client.remote.service;

import com.tntsl.common.vo.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;

/**
 * @author: LvSongnian
 * @date: 2019/9/2 下午 4:51
 */
@FeignClient(name = "server", path = "test", decode404 = true)
public interface RemoteTestService {

    /**
     * 调用远程服务端
     *
     * @return
     */
    @PostMapping("server")
    Result server();
}
